<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head lang="zh-CN">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title></title>
    <link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="../bootstrap/css/bootstrap-theme.css.map"/>
    <link rel="stylesheet" type="text/css" href="../css/dashboard.css"/>
    <script src="../script/jquery-1.11.3.js"></script>
    <script src="../bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button class="navbar-toggle collapsed" aria-expanded="false" aria-controls="navbar" type="button" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">LazyEgg-后台管理</a>
        </div>
    </div>
</nav>
<div class="container-fluid">
    <div class="row">
        <c:import url="/admin/adminShare.jsp" />
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <h2 class="sub-header">配送员</h2>
            <div class="table-responsive">
                <table class="table table-striped">
                    <thead>
                        <tr>
                        	<th>姓名</th><th>电话</th><th>状态</th>
                        </tr>
                    </thead>
                    <tbody>
                    	<c:forEach var="driver" items="${allDriver}">
							<tr>
								<td>${driver.realName}</td><td>${driver.phone}</td><td>${driver.driverState.stateName}</td>	
							</tr>
						</c:forEach>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
</body>
</html>